<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
	<%@ page import="bean.*" language="java"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Game</title>
<link href="css/tcss.css" rel="stylesheet" type="text/css" media="all">
</head>
<body>
	<div class="container">
		<div class="header">
			<img src="images/header.jpg"></img>
		</div>
		<div class="topMenu">
			<%@ include file="/WEB-INF/logged/infoBar.jsp"%>
		</div>
		<div class="sideMenu">
			<%@ include file="/WEB-INF/logged/menu.jsp"%>
		</div>
		<div class="center">
		<% EquipmentBEAN equipmentBEAN = (EquipmentBEAN) request.getAttribute( "equipmentBEAN" ); %>
			<div class="buyBox">
				<div class="newsItemPicture">
					<img src="images/noProfilePicture.png"></img>
				</div>
				<div class="newsItemText">
					<form name="buyWeapon" action="Shop" method="post">
						<input type="hidden" name="action" value="buyWeapon1">
						The sniper ( $200.000.000 )
						<br>This is a single useable weapon only made to kill one person. You need a very high shootskill to make this work
						<br>But if you kill the person, there will be no evidence that you did it!
						<br>(this weapon cannot be used for backfire!)
						<br><% if(! equipmentBEAN.isSniperRifle(  ) ){%><input type="submit" value="Buy a sniper" style="background-color: #C0C0C0"><% } else { out.print( "You already bought it!" ); } %>
					</form>
				</div>
			</div>
			<div class="buyBox">
				<div class="newsItemPicture">
					<img src="images/noProfilePicture.png"></img>
				</div>
				<div class="newsItemText">
					<form name="buyWeapon" action="Shop" method="post">
						<input type="hidden" name="action" value="buyWeapon2">
						uzi SMG ( $200.000.000 )
						<br>This lethal weapon is one of the main weapons you can use.
						<br>With a high fire rate and good aim is this the best weapon. 
						<br>
						<br><% if(! equipmentBEAN.isUziSMG()){%><input type="submit" value="Buy a uzi SMG" style="background-color: #C0C0C0"><% } else { out.print( "You already bought it!" ); } %>
					</form>
				</div>
			</div>
			<div class="buyBox">
				<div class="newsItemPicture">
					<img src="images/noProfilePicture.png"></img>
				</div>
				<div class="newsItemText">
					<form name="buyWeapon" action="Shop" method="post">
						<input type="hidden" name="action" value="buyWeapon3">
						Desert Eagle ( $50.000.000 )
						<br>
						<br>
						<br>
						<br><% if(! equipmentBEAN.isDesertEagle(  ) ){%><input type="submit" value="Buy a Desert Eagle" style="background-color: #C0C0C0"><% } else { out.print( "You already bought it!" ); } %>
					</form>
				</div>
			</div>
			<div class="buyBox">
				<div class="newsItemPicture">
					<img src="images/noProfilePicture.png"></img>
				</div>
				<div class="newsItemText">
					<form name="buyWeapon" action="Shop" method="post">
						<input type="hidden" name="action" value="buyWeapon4">
						Barak SP-21 ( $5.000.000 )
						<br>
						<br>
						<br>
						<br><% if(! equipmentBEAN.isBarakSP21(  ) ){%><input type="submit" value="Buy a barak SP-21" style="background-color: #C0C0C0"><% } else { out.print( "You already bought it!" ); } %>
					</form>
				</div>
			</div>
			<div class="buyBox">
				<div class="newsItemPicture">
					<img src="images/noProfilePicture.png"></img>
				</div>
				<div class="newsItemText">
					<form name="buyWeapon" action="Shop" method="post">
						<input type="hidden" name="action" value="buyWeapon5">
						Colt M1911 ( $1.000.000 )
						<br>
						<br>
						<br>
						<br><% if(! equipmentBEAN.isColtM1911(  )){%><input type="submit" value="Buy a Colt M1911" style="background-color: #C0C0C0"><% } else { out.print( "You already bought it!" ); } %>
					</form>
				</div>
			</div>
			<div class="buyBox">
				<div class="newsItemPicture">
					<img src="images/noProfilePicture.png"></img>
				</div>
				<div class="newsItemText">
					<form name="buyWeapon" action="Shop" method="post">
						<input type="hidden" name="action" value="buyWeapon6">
						Knife ( $100.000 )
						<br>A special army knife.
						<br>This knife can also be used with your weapon to defend yourself when you are under attack.
						<br>
						<br><% if(! equipmentBEAN.isKnife(  ) ){%><input type="submit" value="Buy a Knife" style="background-color: #C0C0C0"><% } else { out.print( "You already bought it!" ); } %>
					</form>
				</div>
			</div>
		</div>
	</div>
</body>
</html>